<style type="text/css">
	.codetb{
	width:300px;
	}
.lal{
	font-size:8px;
  font-weight: bold;
  color:#999999;
	}
  .val{
font-size:12px;
  font-weight: bold;
  }
.coder{
  width:80px;
 /* background-color: red;*/
}
.footer{
 
  font-size:12px;
  font-weight: bold;
}
</style>
<div id="printdialog" class="easyui-dialog" style="width:450px;height:600px;padding:0px;" title="&nbsp;&nbsp;编辑记录" data-options="iconCls:'icon-standard-printer-add',buttons:'#dlg-edit',closed:true,resizable:false,modal:true,closable:true">

<div id="contarin"></div>

</div>
<div id="dlg-edit" >
    <div class="tool_tip" id="tip">只有自己发布的质量信息才能进行编辑！！</div>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-standard-printer',plain:true" onclick="printCoder()">打印</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="javascript:$('#printdialog').dialog('close')">取消</a>
</div>

<script type="text/javascript">
var printCoder=function(){
	// alert("带你");
	// $("#contarin").printArea();
	 $("#contarin").print({
            globalStyles: true,
            mediaPrint: true,
            stylesheet: null,
            noPrintSelector: ".no-print",
            iframe: true,
            append: null,
            prepend: null,
            manuallyCopyFormValues: true,
            deferred: $.Deferred(),
            timeout: 750,
            title: null,
            doctype: '<!doctype html>'
    });
}
</script>

